package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Project_Info_Flow")
public class ProjectInfoFlow {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 50)
    private String pid; // 招聘方案ID

    @Column(nullable = false)
    private Integer forder; // 流程顺序

    @Column(nullable = false, length = 20)
    private Integer fid; // 流程编码

    @Column(nullable = false, length = 20)
    private String nickname; // 流程别名

    @Column(nullable = false, length = 20)
    private String deptcode; // 部门编码

    @Column(nullable = false, length = 50)
    private String deptname; // 部门名称

    @Column(nullable = false)
    private Integer state; //  流程状态（未开始：0;进行中：1;已完成：2）
    @Column(nullable = true)
    private String starttime;//开始时间
    @Column(nullable = true)
    private String endtime;//结束时间
    @Column(nullable = true)
    private String remark;//备注
    @Column(nullable = true)
    private String display;//是否显示
    @Column(nullable = true)
    private String fname;//流程名称
    @Column(nullable = true)
    private String webname;//前端显示名称

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getForder() {
        return forder;
    }

    public void setForder(Integer forder) {
        this.forder = forder;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStarttime() {
        return this.starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return this.endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDisplay() {
        return this.display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }

    public String getFname() {
        return this.fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getWebname() {
        return this.webname;
    }

    public void setWebname(String webname) {
        this.webname = webname;
    }
}